package com.xnyzc.lhy.order.service.order;


import com.baomidou.mybatisplus.extension.service.IService;
import com.xnyzc.lhy.common.entity.Rv;
import com.xnyzc.lhy.order.entity.order.OaCOrderPersonal;
import com.xnyzc.lhy.order.entity.mq.OrderParam;
import com.xnyzc.lhy.order.entity.param.order.OrderExpressParam;

/**
 * 快车订单
 */
public interface IOrderExpressService extends IService<OaCOrderPersonal> {


    /**
     * 获取订单详情
     * @return
     */
    Rv getOrderDetail(String orderNo,Long userId);


    /**
     * 获取订单状态
     * @return
     */
    Rv getOrderStatus(String orderId,Long userId);


    /**
     * 创建订单
     * @param orderParam
     * @return
     */
    Rv getCreateOrder(OrderParam orderParam);


    /**
     * 取消订单
     * @param orderParam
     * @return
     */
    Rv cancelOrder(OrderParam orderParam);


    /**
     * 账单详情
     * @param orderExpressParam
     * @return
     */
    Rv billDetails(OrderExpressParam orderExpressParam);

    /**
     * 我的行程
     * @param orderParam
     * @return
     */
    Rv getUserOrder(OrderParam orderParam);

    /**
     * 拉取页面数据
     * @return
     */
    Rv pullPageData(Long userId);

    /**
     * 乘客生成订单
     * @param orderParam
     * @return
     */
    Rv deleteOrder(OrderParam orderParam);


}
